﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="BrandCategory.aspx.cs" Inherits="BrandCategory" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">

<!--  ==========  -->
    <!--  = Breadcrumbs =  -->
    <!--  ==========  -->
    <div class="darker-stripe">
        <div class="container">
            <div class="row">
                <div class="span12">
                    <ul class="breadcrumb">
                        <li>
                            <a href="/">Trang chủ</a>
                        </li>
                        <li><span class="icon-chevron-right"></span></li>
                        <li>
                            <a>Nhãn hiệu</a>
                        </li>
                    </ul>
                </div>
            </div>
        </div>
    </div>

    <div class="container">
        <div class="push-up blocks-spacer">
            <div class="row">
               
                <!--  ==========  -->
                <!--  = Sidebar =  -->
                <!--  ==========  -->
                <aside class="span3">
                    <div class="sidebar-item">
                        
                        <!--  ==========  -->
                        <!--  = Sidebar Title =  -->
                        <!--  ==========  -->
                        <div class="underlined">
                        	<h3><span class="light">Danh mục</span> Nhãn hiệu</h3>
                        </div>
                        
                        <!--  ==========  -->
                        <!--  = Menu (affix) =  -->
                        <!--  ==========  -->
                        <div class="row">
                        	<div class="span3" id="spyMenu">
		                    	<ul class="nav nav-pills nav-stacked" id="showNav">
                                <asp:Repeater ID="rptBrandCate" runat="server" 
                                        onitemdatabound="rptBrandCate_ItemDataBound">
                                    <ItemTemplate>
                                        <li class="active">
                                        <asp:Label ID="lbId" Text='<%#Eval("Id") %>' runat="server" Visible=false/>
                                        <a href="javascript:void(0)"><%#Eval("Name") %><b style="float: right;display:block;margin-top: 5px;" class=""></b>
                                        </a>
                                            <ul class="men">
                                                <asp:Repeater ID="rptCateChild" runat="server">
                                                    <ItemTemplate>
                                                        <li><a href='/<%#Myfunction.toUrlFriendly(Eval("Name").ToString().Trim()) %>/nhan-hieu-<%#Eval("Id") %>.aspx'><%#Eval("Name") %></a></li>
                                                    </ItemTemplate>
                                                </asp:Repeater>
                                            </ul>
                                    
                                        </li>
                                    </ItemTemplate>
                                </asp:Repeater>
		                    	</ul>
                        	</div>
                        </div>
                        
                    </div>
                </aside> <!-- /sidebar -->
                
                <!--  ==========  -->
                <!--  = Main content =  -->
                <!--  ==========  -->
                <section class="span9">
                    
                    <!--  ==========  -->
                    <!--  = Title =  -->
                    <!--  ==========  -->
                    <div class="underlined push-down-20">
                        <h3><span class="light">Nhãn hiệu về</span> Trang phục</h3>
                    </div> <!-- /title -->
                    
                    <!-- Brands List -->
                    
                    <div class="row-fluid">
                    <asp:Repeater ID="rptListBrand" runat="server" onitemdatabound="rptListBrand_ItemDataBound">
                        <ItemTemplate>
                            <div class="span3 push-down-20">
                                <div class="picture">
                                    <a href='#brandinfoModal<%#Eval("Id") %>'data-toggle="modal">
                                        <img style="width: 201px; height: 201px;" alt="" src="/Images/BrandLogo/<%#Eval("Image") %>" class="rounded">
                                    </a>
                                &nbsp;</div>
                                <h4>Brand 1</h4>
                                <a href="#" class="btn btn-danger push-down-10">Shopping with this</a>
                            </div>
                            <!--  = Brand Info =  -->
                            <div id="brandinfoModal<%#Eval("Id") %>" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="brandinfoModalLabel" aria-hidden="true">
                                <div class="modal-header">
                                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                                    <h3 id="brandinfoModalLabel"><span class="light">Brand</span> Info</h3>
                                </div>
                                <div class="modal-body center-align">
        	                        <img width="128" height="128" alt="" src='/Images/BrandLogo/<%#Eval("Image") %>' class="rounded">
                                    <h4><%#Eval("BrandCateName").ToString() %></h4>
                                    <p>
            	                        <%#HttpUtility.HtmlDecode(Eval("Content").ToString())%>
                                    </p>
                                    <a href="#" class="btn btn-danger push-down-10">Shopping with this</a>
                                </div>
                            </div>
                        </ItemTemplate>
                    </asp:Repeater>
                    </div>                 
                    <!-- /brands list -->
                	
                </section> <!-- /main content -->
            </div>
        </div>
    </div> <!-- /container -->
    
     
</asp:Content>

